mtd: spi: sf_dataflash: Add print message while erase error
author[email protected] <[email protected]>
Fri, 21 Jul 2017 05:26:09 +0000 (13:26 +0800)
committerJagan Teki <[email protected]>
Tue, 8 Aug 2017 07:04:27 +0000 (12:34 +0530)
commit8fc2faefdd8bd950fa6ef615ab63f8ec3b6de7e5
tree6fa167707889c0b797a880f3929dc0607758c583
parentac6777b1e3362a4958562a3b4315f39db75685f3
mtd: spi: sf_dataflash: Add print message while erase error

Add the print message to tell us why the erase operation doesn't work.

Signed-off-by: Wenyou Yang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/mtd/spi/sf_dataflash.c